<?php
	require_once('config.php');
	if($_POST['pwd'] == $NAMIKO_WALL_ADMINPASS){
		$key = sha1($_SERVER['REMOTE_ADDR'].md5($NAMIKO_WALL_ADMINPASS));
		header("Location: wall.php?admin=$key");
		exit();
	}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn" dir="ltr">
<head><title>namiko wall</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="wall.css" />
</head>
<body><form action="" method="post"><input type="password" name="pwd" /><input type="submit" value="⑨" /></form></body></html>